package com.geektime.hello;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

/**
 * @Author: DRevelation
 * @Date: 2021/1/4 14:29
 */
public class URLDemo {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String str = "%E4%B8%89%E5%88%86%E9%92%9F%E7%9A%84%E4%B8%80%E5%88%86%E9%92%9F";
        System.out.println(URLDecoder.decode(str, "utf-8"));
    }
}
